// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** listEfficiencyCurveChar GET /production-panel/efficiencyCurveCharDTO */
export async function listEfficiencyCurveCharUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.listEfficiencyCurveCharUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseListEfficiencyCurveCharDTO_>(
    '/production-panel/efficiencyCurveCharDTO',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}

/** getStatisticCards GET /production-panel/statisticCards */
export async function getStatisticCardsUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getStatisticCardsUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseStatisticCardsDTO_>('/production-panel/statisticCards', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** listStepProductDetail GET /production-panel/stepProductDetailDTO */
export async function listStepProductDetailUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.listStepProductDetailUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseListStepProductDetailDTO_>(
    '/production-panel/stepProductDetailDTO',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    },
  );
}
